package cn.kgc.ssm.service;

import cn.kgc.ssm.dto.MessagePageDTO;
import cn.kgc.ssm.entity.Message;
import cn.kgc.ssm.response.ResponseResult;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/11/19
 * @description
 */
public interface MessageService {
    ResponseResult messagePage(MessagePageDTO messagePageDTO);

    ResponseResult delete(List<Integer> listIds);

    ResponseResult editMessage(Integer id);

    ResponseResult publishMessage(Message message);
}
